/// Computes a hash value for a pointer address.
///
/// # Parameters
/// - `ptr`: A raw pointer to the memory location
///
/// # Returns
/// A 32-bit unsigned integer hash value derived from the pointer's address
pub fn pointer_hash<T>(ptr: *const T) -> u32 {
    (ptr as usize) as u32
}